import json
import time
import requests
import websocket
import threading
import keep_session
import golib_cookie

# def task1():
#     if time.localtime().tm_sec % 10 == 8:
#         print("success")
#     task3()
#
#
# def task2():
#     a = 1
#     while True:
#         a = a + 1
#         print(a)
#         time.sleep(2)
#
#
# def task3():
#     print("task3")
#
#
# thread1 = threading.Thread(target=task1)
# thread2 = threading.Thread(target=task2)
# thread1.start()
# thread2.start()

cookie_str = 'Authorization=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9' \
             '.eyJ1c2VySWQiOjM5ODEwNTIyLCJzY2hJZCI6MTAwMjUsImV4cGlyZUF0IjoxNzAyOTk1MjM1fQ' \
             '.dZBI4unwq6qrvkHwXm9F8KDkvsQAxN_3pAu4KGTzLuDZiyfYlWdaBKyyaeSG2OCr0lBA7-5PkpocO' \
             '-7NawrcvOzFliA5SWQuURKsYRzwcM9S0vQmN94Bsacv3U1xirWP4ijWy7BTt0joZ4MLsA5K8c1dSzJikpK9o5cDD5QdNWJHCfCQ4_3qeEJ4CATSIp4Zk334p2YzWrDxi4lAk8bSHzawohPrxRngvRLSB_6kAs0yhcjrLyfbXfFsYC-C-c4EXz8S0lBPCBnzWfYC46dnH6zmsU6Aln-ChDHhrHj62mIQKx1oUW7Dvtf3UK3WFXJtbekVpL6cb0fUgysy_gkFsw; SERVERID=e3fa93b0fb9e2e6d4f53273540d4e924|1702988035|1702988035; SERVERID=d3936289adfff6c3874a2579058ac651|1702988034|1702988034'
keep_session.keep_cookie(cookie_str)

